<?php

namespace MoChat\App\Home\Service;

use MoChat\App\Home\Contract\WorkEmployeeContract;
use MoChat\App\Home\Model\Corp;
use MoChat\Framework\Service\AbstractService;

class WorkEmployeeService extends AbstractService implements WorkEmployeeContract
{
    /**
     * @var Corp
     */
    protected $model;

    public function getDetailCorp($corpId, array $filed = ['*']): array
    {
        return $this->model->getOneById($corpId,$filed);
    }
}